package com.dengyuanke.entity.enums;

import com.baomidou.mybatisplus.enums.IEnum;

import java.io.Serializable;

/**
 * Created by dengyuanke on 2017/11/8.
 */
public enum  CarouselEnum implements IEnum{

    //1首页，2商品详情轮播图
    HOME(1, "首页"),
    DETAILS(2, "商品详情");


    private int val;
    private String desc;

    CarouselEnum(final int value, final String desc) {
        this.val = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return val;
    }
}
